package cn.lili.modules.order.order.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 订单流水用户端展示VO
 *
 */
@Data
public class OrderItemFlowUserVO {

    private String id;

    @ApiModelProperty(value = "流水编号")
    private String sn;

    @ApiModelProperty(value = "流水编号")
    private String orderFlowSn;

    @ApiModelProperty(value = "订单sn")
    private String orderSn;

    @ApiModelProperty(value = "子订单sn")
    private String orderItemSn;

    @ApiModelProperty(value = "商品ID")
    private String goodsId;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "货品ID")
    private String skuId;

    @ApiModelProperty(value = "图片")
    private String image;

    @ApiModelProperty(value = "分类ID")
    private String categoryId;

    @ApiModelProperty(value = "规格json")
    private String specs;

    @ApiModelProperty(value = "店铺名称")
    private String storeName;

    @ApiModelProperty(value = "店铺ID")
    private String storeId;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间", hidden = true)
    private Date createTime;

    @ApiModelProperty(value = "分销商标识")
    private String distributionId;

    @ApiModelProperty(value = "分销商标识")
    private String distributionName;

    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ApiModelProperty(value = "分销佣金")
    private Double distributionSettlementPrice = 0D;

    @ApiModelProperty(value = "分销退还佣金")
    private Double distributionRefundPrice = 0D;

}
